package cc.rengu.redp.bizimpl.csmc.service;

import cc.rengu.redp.bizimpl.csmc.domain.CSettleRule;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * @author lizk
 */
public interface ICSettleRuleService extends IService<CSettleRule> {

    IPage<CSettleRule> findByPage(QueryRequest queryRequest, CSettleRule settleRule);

    void createSettleRule(CSettleRule settleRule) throws RedpException;

    void updateSettleRule(CSettleRule settleRule) throws RedpException;

    Map<String, Object> tagsData(String q, QueryRequest request);
}
